package cn.bytecollege.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OrderDetail {
    @TableId(type = IdType.AUTO)
    private Integer orderDetailId;
    private Integer orderId;
    private Integer goodsId;
    private Double goodsPrice;
    private Integer goodsNumber;
    private Goods goods;
    private Double sum;

}
